<name>Homad</name>
<profession>Centaur Kid</profession>
<faction>Centaurs</faction>
<dialogue>
  <greeting>
    <reply>
      <text>[gender]!</text>
      <return>main</return>
    </reply>
  </greeting>
  <main>
    <option>
      <text>Young man?</text>
      <npc>
        <reply>
          <if>
            <key>ofagecomingdone</key>
          </if>
          <text>* Burp! *</text>
          <return>main</return> 
        </reply>
        <reply>
          <if>
            <key>ofagecomingbooked</key>
            <key>centaurproofdone</key>
          </if>
          <text>We succeeded, the ritual is done!</text>
          <script>
            <key>ofagecomingdone</key>
            <expall>1000</expall>
            <reputation>-2</reputation>
            <quest>Of-age-coming ritual|done</quest>
            <log>The Centaur kids managed their of-age-coming ritual, thanks to our help</log>
          </script>
          <return>main</return> 
        </reply>
        <reply>
          <if>
            <key>ofagecomingbooked</key>
          </if>
          <text>Pholus the Prophet is still about.</text>
          <return>main</return> 
        </reply>
        <reply>
          <text>Are you willing to do us kids a favour?</text>
          <return>drink</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>What lies west of the mountain?</text>
      <npc>
        <reply>
          <text>Do you mean the Temple of Meh? They keep to themselves, mostly. Further west is all trolland.</text>
          <return>main</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>Happy days, lad.</text>
      <npc>
        <reply>
          <return>exit</return> 
        </reply>
      </npc>
    </option>
  </main> 

  <drink>
    <option>
      <text>What can we do?</text>
      <npc>
        <reply>
          <text>For the of-age-coming ritual we must get ... a special liquid from the stock. It is fully expected that we steal it, but our prophet is guarding it all the time. Can you lure him away? Or we may never grow up.</text>
          <return>lure</return> 
        </reply>
      </npc>
    </option>
  </drink>
  <lure>
    <option>
      <text>You seem a bit young to be drinking special liquids and all.</text>
      <npc>
        <reply>
          <return>exit</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>If that is the tradition here, then we will try to help.</text>
      <npc>
        <reply>
          <script>
            <key>ofagecomingbooked</key>
            <quest>Of-age-coming ritual|Help the centaur kids to get the special liquid that their prophet is guarding</quest>
            <log>Promised to help the Centaur kids with their of-age-coming ritual</log>
          </script>
          <text>Thank you so much!</text>
          <return>main</return> 
        </reply>
      </npc>
    </option>
  </lure>
</dialogue>